<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="org.limp.mine.StringTool" %>
<%
    String insid = StringTool.checkString(request.getParameter("insid"));

	String currentActId = StringTool.checkString(request.getParameter("currentActId"));
    
	String context = jt.classic.system.ISystem.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml">
	<head>
		<title><%if(insid != null){%>工作流转过程跟踪<%}else{%>浏览<%}%></title>

		<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<jsp:include page="head.jsp"></jsp:include>
<script>
var insid = "<%=((insid != null) ? insid : "")%>";
</script>
		<script charset="UTF-8" src="../js/XiorkFlowWorkSpace.js" language="javascript"></script>
		<script charset="UTF-8" src="viewprocess.js" language="javascript"></script>
	</head>
	<body onload="init()" style="margin: 0px;">
	    <%if(!currentActId.equals("")){ %>
		<div id="designer" style="width: 100%;height: 70%;border: #e0e0e0 1px solid;"></div>
	    <div style="width: 100%;height: 30%;border: #e0e0e0 1px solid;">
	    <iframe width="100%" height="100%" frameborder="0" src="<%=context %>/system/flow.do?method=trace&id=<%=currentActId %>"></iframe>
	    </div>
	    <%}else{ %>
	    <div id="designer" style="width: 100%;height: 100%;border: #e0e0e0 1px solid;"></div>
	    <%} %>
	</body>
</html>
